.api-key-value-table {
  &.rq-content-list-table {
    border: none;
  }
  tr {
    td.ant-table-cell:nth-last-child(2) {
      border-right: none;
    }

    &:hover {
      td.ant-table-cell {
        .key-value-delete-btn.ant-btn.ant-btn-icon-only {
          opacity: 1;
        }
      }

      td.ant-table-cell:nth-last-child(2) {
        border-right: 1px solid #303030 !important;
      }
    }
  }

  tr:hover td.ant-table-cell:nth-last-child(2) {
    border-right: none !important;
  }

  td.ant-table-cell {
    padding: 4px 12px !important;

    .key-value-delete-btn.ant-btn.ant-btn-icon-only {
      width: 30px;
      opacity: 0;
    }
  }
  .key-value-input-container.error-state {
    display: flex;
    align-items: center;
    height: 24px;
    padding: 6px 12px;
    gap: 6px;
    flex: 1 0 0;
    line-height: 17px;
    border: 1px solid var(--requestly-color-error);
    border-radius: 4px;
  }
  .key-value-input-container {
    display: flex;
    flex-direction: row;
    align-items: center;

    .key-value-table-file-text-select {
      position: relative;
      left: -4px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-width: 75px;
      width: auto;
      padding: 0px 4px 0px 6px;
      border-radius: 4px;

      flex-shrink: 0;

      .ant-select-selector {
        align-items: center;
        font-size: var(--requestly-font-size-sm);
        height: 24px;
      }

      .ant-select-arrow {
        svg {
          position: relative;
          top: 2px;
          width: 8px;
          height: 8px;
          stroke: var(--requestly-color-white);
          stroke-width: 80px;
        }
      }
    }
    .ant-select-selector {
      background-color: var(--requestly-color-background) !important;
      font-size: var(--requestly-font-size-xs);
      white-space: nowrap;
    }
    .key-value-table-file-button {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0px 8px;
      border-radius: 4px;
      background-color: var(--requestly-color-white-t-10);
      border: 1px solid var(--requestly-color-white-t-10);
      font-size: var(--requestly-font-size-xs);
    }
  }
  .key-value-table-input {
    border: 1px solid transparent;
    background: transparent;
    padding: 4px 6px !important;
    height: 24px;
    font-size: var(--requestly-font-size-sm);
    width: 100%;

    &:hover {
      border: 1px solid transparent;
    }

    &-disabled {
      opacity: 0.5;
    }

    .cm-editor {
      margin-top: -7px;
    }
  }

  .ant-table-footer {
    background: var(--requestly-color-background);
  }
}
